package cn.iocoder.yudao.module.enterprise.controller.admin.enterpriseJob.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 招聘职位分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EnterpriseJobPageReqVO extends PageParam {

    @ApiModelProperty(value = "企业名称", example = "香港中文大学")
    private String companyName;

    @ApiModelProperty(value = "所属行业", example = "软件开发")
    private String industry;

    @ApiModelProperty(value = "城市", example = "上海")
    private String city;

    @ApiModelProperty(value = "职位名称", example = "Java技术专家")
    private String jobName;

    @ApiModelProperty(value = "学历要求", example = "本科")
    private String education;

    @ApiModelProperty(value = "职位状态 编辑中draft/已发布enabled/已下架disabled/unpass审核不通过", example = "enabled")
    private List<String> status;

    @ApiModelProperty(value = "置顶状态")
    private String topStatus;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始发布时间", example = "2022-04-28")
    private Date beginPublishTime;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束发布时间", example = "2022-04-28")
    private Date endPublishTime;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "开始时间", example = "2022-04-28")
    private String createStarDate;

    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    @ApiModelProperty(value = "结束时间", example = "2022-04-28")
    private String createEndDate;

    @ApiModelProperty(value = "创建人")
    private String creator;

    private String  updater;

    private String operation;

    private List<String> flag;
}
